#include <bits/stdc++.h>
#define rep(i, l, r) for(int i = l; i <= r; i++)
#define int long long
using namespace std;
const int MN = 1e5 + 5;
//Ryo The Rock!!!
int Choke();
signed main() {
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    int T(10);
    cin >> T;
    while(T--) Choke();
    return 0;
}
int Choke() {
    srand(time(0));
    cout << rand() % 20 + 1 << endl;
    cerr << "Nothing but arena\n" << endl;
    return 0;
}